# -*- coding:utf-8 -*-
import pygame


class Player:
    def __init__(self):
        pygame.mixer.init()

    def play(self, name):
        pygame.mixer.music.load(f'{name}.wav')
        pygame.mixer.music.play()


if __name__ == '__main__':
    player = Player()
    player.play('编号错误')
